#ifndef OTHERSWIDGET_H
#define OTHERSWIDGET_H

#include <QWidget>
#include "InputMethod/inputmethod.h"
QT_BEGIN_NAMESPACE
class QLineEdit;
class QPushButton;
QT_END_NAMESPACE

class OthersWidget : public QWidget
{
    Q_OBJECT
public:
    explicit OthersWidget(QWidget *parent = 0);
    ~ OthersWidget();
    InputMethod *im;
    void cpuUasge();
signals:

public slots:


private slots:
    void closeBackLight();
    void closeBackLight1();
    void openBackLight();
    void setMac();
    void startPing();
    void setBeep();
    void timelian();
    void timelian1();
    void closewifi();
    void openwifi();
    void clean();
    void createImConnect(QString ObjName);

private:
    QLineEdit       *m_pBackLightEdit;
    QLineEdit       *m_pMacEdit;
    QLineEdit       *m_pTimeEdit;
    QLineEdit       *m_pPingEdit;
    QLineEdit       *m_pPingEdit1;
    QLineEdit       *m_pPingErroEdit;
    QLineEdit       *m_pPingIpEdit;
    QPushButton     *m_pBeepBut;
    QTimer     *m_pAutoTimer;
    QLabel          *pruntimeLabel;
    QLabel          *pusageLabel;
    int day;
    int hou;
    int min;
    int sec;
    int year;

};

#endif // OTHERSWIDGET_H
